## -*- coding: utf-8 -*-
from biahanoi.forms.validators import *

class DiaryFormSchema(Schema):
    allow_extra_fields = True

    title = UnicodeString(not_empty=True)
    content = UnicodeString(not_empty=True)
    pub_date = DateTimeConverter("%Y-%m-%d %H:%M:%S")
